<?php
class GBManager
{
	private $garbageCleanThread = null;
	public function GBManager()
	{
		$this->garbageCleanThread = array();
		$this->garbageCleanThread[] =new GBTmpFilesThread();
		$this->garbageCleanThread[] =new GBCreatingOrderThread();
	}
	public function clean()
	{
		foreach($this->garbageCleanThread as $thread)
		{
			$thread->clean();
		}
	}
}
?>